文档

Dataphin中创建的SPARK_JAR_ON_MAX_COMPUTE任务报错“Unable to connect to '192.168.1.72:22' with user 'root': Authentication failed.”

更新时间:
一键部署

问题描述

本文主要描述了Dataphin中创建的SPARK_JAR_ON_MAX_COMPUTE任务报错“Unable to connect to '192.168.1.72:22' with user 'root': Authentication failed.”的解决方法。

正在提交...
提交任务成功!
2022-09-23 17:24:55 Taskrun created, will be dispatched to agent
2022-09-23 17:24:55 Taskrun id: tr_4042529562391281664_20220923_4042529562391281666
2022-09-23 17:24:55 Task id: t_4042529562391281664_20220923_4042529562391281665
2022-09-23 17:24:55 Tenant id: 300001903
2022-09-23 17:24:55 Schedule type: AD_HOC
2022-09-23 17:24:55 0th runtime 
2022-09-23 17:24:56 Taskrun status changed from INIT to READY 
2022-09-23 17:24:56 Generating ExecutableTaskrun for the 1st time 
2022-09-23 17:24:56 ExecutableTaskrun generated 
2022-09-23 17:24:56 Submit taskrun to dataphin-rs for the 1st time 
2022-09-23 17:24:56 Submit taskrun to dataphin-rs for the 1st time, rsTaskId: 1306967 
2022-09-23 17:25:00.408 ---------------- voldemort task initiating ----------------
2022-09-23 17:25:00.408 Tenant id: 300001903
2022-09-23 17:25:00.408 DataphinEnvironment: DEV
2022-09-23 17:25:00.408 Task id: t_4042529562391281664_20220923_4042529562391281665
2022-09-23 17:25:00.408 Task Type: TEMP
2022-09-23 17:25:00.408 Taskrun id: tr_4042529562391281664_20220923_4042529562391281666
2022-09-23 17:25:00.408 ExecutableTaskrun id: 0000001306967
2022-09-23 17:25:00.408 Taskrun priority is HIGH
2022-09-23 17:25:00.408 Taskrun was due to execute at 2022-09-23 17:24:55
2022-09-23 17:25:00.408 Taskrun was ready to execute at 2022-09-23 17:24:55
2022-09-23 17:25:00.408 Taskrun delay time is: 5408ms
2022-09-23 17:25:00.408 Current Taskrun has been dispatched to agent: 
2022-09-23 17:25:00.408 Begin to execute SPARK_JAR_ON_HIVE task.
2022-09-23 17:25:00.408 Current task status: RUNNING
2022-09-23 17:25:00.408 --------------------------------
2022-09-23 17:25:00.408 List of task parameters: 
2022-09-23 17:25:00.408 taskid=t_4042529562391281664_20220923_4042529562391281665
2022-09-23 17:25:00.408 taskrunid=tr_4042529562391281664_20220923_4042529562391281666
2022-09-23 17:25:00.408 --------------------------------
2022-09-23 17:25:00.408 =================================================================
/usr/lib/python2.7/site-packages/paramiko/kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  m.add_string(self.Q_C.public_numbers().encode_point())
/usr/lib/python2.7/site-packages/paramiko/kex_ecdh_nist.py:96: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
  self.curve, Q_S_bytes
/usr/lib/python2.7/site-packages/paramiko/kex_ecdh_nist.py:111: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  hm.add_string(self.Q_C.public_numbers().encode_point())
set locale to: zh_CN.UTF-8
spark_command_from_file: spark-submit --deploy-mode cluster --class com.seeyii.bigdata.clear.CompanyChangeInfo2.stock.CompanyChangeInfoMaster --driver-memory 22g --driver-cores 2 --executor-memory 22g --executor-cores 5 --queue root.kf2_admin --num-executors 10 /mnt/mesos/sandbox/resources/0000001306967/resource.dwd_ms_base_gs_change_gq
Traceback (most recent call last):
  File "/mnt/mesos/sandbox/spark_job_python_0000001306967.py", line 218, in <module>
    main(sys.argv)
  File "/mnt/mesos/sandbox/spark_job_python_0000001306967.py", line 213, in main
    kerberos_principal, kerberos_keytab_filename)
  File "/mnt/mesos/sandbox/spark_job_python_0000001306967.py", line 44, in __init__
    self.ssh_session = self.build_ssh_session()
  File "/mnt/mesos/sandbox/spark_job_python_0000001306967.py", line 87, in build_ssh_session
    ssh_session = SSHSession(self.host, self.username, password=self.password).open()
  File "/usr/lib/python2.7/site-packages/jumpssh/session.py", line 174, in open
    % (self.host, self.port, self.username), original_exception=ex)
jumpssh.exception.ConnectionError: Unable to connect to '192.168.1.72:22' with user 'root': Authentication failed.
2022-09-23 17:25:04.385 No outputData produced.
2022-09-23 17:25:04.422 =================================================================
2022-09-23 17:25:04.422 Current task status: FAILED
2022-09-23 17:25:04.422 Elapsed time: 4.081 s( Estimated: 10m )
2022-09-23 17:25:04.422 ---------------- voldemort task ends ----------------

问题原因

问题原因是认证错误。

解决方案

请您在计算源的配置里,重新填一下root密码。

适用于

  • Dataphin
  •  v3.5.2  

  • 本页导读
文档反馈